package com.ruoyi.project.lesson.lessonguide.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 课程指引对象 lesson_guide
 * 
 * @author shixiangwen
 * @date 2021-04-20
 */
public class LessonGuide extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long lessonId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUri;

    /** 序号 */
    @Excel(name = "序号")
    private Integer sort;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 富文本 */
    @Excel(name = "富文本")
    private String media;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLessonId(Long lessonId) 
    {
        this.lessonId = lessonId;
    }

    public Long getLessonId() 
    {
        return lessonId;
    }
    public void setImgUri(String imgUri) 
    {
        this.imgUri = imgUri;
    }

    public String getImgUri() 
    {
        return imgUri;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setMedia(String media) 
    {
        this.media = media;
    }

    public String getMedia() 
    {
        return media;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lessonId", getLessonId())
            .append("imgUri", getImgUri())
            .append("sort", getSort())
            .append("createdTime", getCreatedTime())
            .append("type", getType())
            .append("media", getMedia())
            .toString();
    }
}
